package com.example.feignapi.client;

import com.weiiew.common.entity.simple.SimpleType;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Description
 * @Author 魏锴
 * @Date 2025/4/3
 */
@FeignClient(name = "itemTypeService")
public interface ItemTypeClient {
    @PostMapping("/type/item/feign/list")
    List<SimpleType> getSimpleItemTypes(@RequestParam("version") int version);
}
